package com.example.yjhmatch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.yjhmatch.entity.ResultsDTO;
import com.yc.yjh.entity.Results;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestParam;


import java.util.List;

/**
 * <p>
 * 赛事结果表 Mapper 接口
 * </p>
 *
 * @author 廖老师
 * @since 2023-07-24
 */
public interface ResultsMapper extends BaseMapper<Results> {
    @Select("select count(*) round from results")
    Integer selectResultsCount();





}
